package com.jsb.laundry.model.vo;

import com.jsb.laundry.model.dto.ActivityModuleDto;
import com.jsb.laundry.model.dto.CategoryDto;
import com.jsb.laundry.model.entity.Banner;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "首页对象", description = "首页视图接口数据")
public class IndexVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("头部活动banner")
    private List<Banner> bannerModule;

    @ApiModelProperty("洗衣分类")
    private List<CategoryDto> categoryModule;

    @ApiModelProperty("洗衣活动")
    private List<ActivityModuleDto> activityModule;

}
